﻿using FluentNHibernate.Mapping;
using SuckerPunch.Domain;

namespace SuckerPunch.Mappings
{
    public class ServerMap : ClassMap<Server>
    {
        public ServerMap()
        {
            Id(x => x.Id);
            Map(x => x.Description);
            Map(x => x.Address);
            Map(x => x.Password);
            Map(x => x.Ports);
            References(x => x.ServerGroup);

        }
    }
}
